3.6.35 \(\int \sqrt {x} (2+b x)^{3/2} \, dx\) [535]

Optimal. Leaf size=82 \[ \frac {\sqrt {x} \sqrt {2+b x}}{2 b}+\frac {1}{2} x^{3/2} \sqrt {2+b x}+\frac {1}{3} x^{3/2} (2+b x)^{3/2}-\frac {\sinh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{3/2}} \]

[Out]

1/3*x^(3/2)*(b*x+2)^(3/2)-arcsinh(1/2*b^(1/2)*x^(1/2)*2^(1/2))/b^(3/2)+1/2*x^(3/2)*(b*x+2)^(1/2)+1/2*x^(1/2)*(
b*x+2)^(1/2)/b

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {52, 56, 221} \begin {gather*} -\frac {\sinh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{3/2}}+\frac {1}{3} x^{3/2} (b x+2)^{3/2}+\frac {1}{2} x^{3/2} \sqrt {b x+2}+\frac {\sqrt {x} \sqrt {b x+2}}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[x]*(2 + b*x)^(3/2),x]

[Out]

(Sqrt[x]*Sqrt[2 + b*x])/(2*b) + (x^(3/2)*Sqrt[2 + b*x])/2 + (x^(3/2)*(2 + b*x)^(3/2))/3 - ArcSinh[(Sqrt[b]*Sqr
t[x])/Sqrt[2]]/b^(3/2)

Rule 52

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^n/(b*(
m + n + 1))), x] + Dist[n*((b*c - a*d)/(b*(m + n + 1))), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 56

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]), x_Symbol] :> Dist[2/Sqrt[b], Subst[Int[1/Sqrt[b*c -
 a*d + d*x^2], x], x, Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d}, x] && GtQ[b*c - a*d, 0] && GtQ[b, 0]

Rule 221

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[Rt[b, 2]*(x/Sqrt[a])]/Rt[b, 2], x] /; FreeQ[{a, b},
 x] && GtQ[a, 0] && PosQ[b]

Rubi steps

\begin {align*} \int \sqrt {x} (2+b x)^{3/2} \, dx &=\frac {1}{3} x^{3/2} (2+b x)^{3/2}+\int \sqrt {x} \sqrt {2+b x} \, dx\\ &=\frac {1}{2} x^{3/2} \sqrt {2+b x}+\frac {1}{3} x^{3/2} (2+b x)^{3/2}+\frac {1}{2} \int \frac {\sqrt {x}}{\sqrt {2+b x}} \, dx\\ &=\frac {\sqrt {x} \sqrt {2+b x}}{2 b}+\frac {1}{2} x^{3/2} \sqrt {2+b x}+\frac {1}{3} x^{3/2} (2+b x)^{3/2}-\frac {\int \frac {1}{\sqrt {x} \sqrt {2+b x}} \, dx}{2 b}\\ &=\frac {\sqrt {x} \sqrt {2+b x}}{2 b}+\frac {1}{2} x^{3/2} \sqrt {2+b x}+\frac {1}{3} x^{3/2} (2+b x)^{3/2}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2+b x^2}} \, dx,x,\sqrt {x}\right )}{b}\\ &=\frac {\sqrt {x} \sqrt {2+b x}}{2 b}+\frac {1}{2} x^{3/2} \sqrt {2+b x}+\frac {1}{3} x^{3/2} (2+b x)^{3/2}-\frac {\sinh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 65, normalized size = 0.79 \begin {gather*} \frac {\sqrt {x} \sqrt {2+b x} \left (3+7 b x+2 b^2 x^2\right )}{6 b}+\frac {\log \left (-\sqrt {b} \sqrt {x}+\sqrt {2+b x}\right )}{b^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[x]*(2 + b*x)^(3/2),x]

[Out]

(Sqrt[x]*Sqrt[2 + b*x]*(3 + 7*b*x + 2*b^2*x^2))/(6*b) + Log[-(Sqrt[b]*Sqrt[x]) + Sqrt[2 + b*x]]/b^(3/2)

________________________________________________________________________________________

Maple [A]
time = 0.12, size = 87, normalized size = 1.06

method result size
meijerg \(\frac {\frac {\sqrt {\pi }\, \sqrt {x}\, \sqrt {2}\, \sqrt {b}\, \left (2 x^{2} b^{2}+7 b x +3\right ) \sqrt {\frac {b x}{2}+1}}{6}-\sqrt {\pi }\, \arcsinh \left (\frac {\sqrt {b}\, \sqrt {x}\, \sqrt {2}}{2}\right )}{b^{\frac {3}{2}} \sqrt {\pi }}\) \(63\)
risch \(\frac {\left (2 x^{2} b^{2}+7 b x +3\right ) \sqrt {x}\, \sqrt {b x +2}}{6 b}-\frac {\sqrt {x \left (b x +2\right )}\, \ln \left (\frac {b x +1}{\sqrt {b}}+\sqrt {x^{2} b +2 x}\right )}{2 b^{\frac {3}{2}} \sqrt {b x +2}\, \sqrt {x}}\) \(77\)
default \(\frac {x^{\frac {3}{2}} \left (b x +2\right )^{\frac {3}{2}}}{3}+\frac {x^{\frac {3}{2}} \sqrt {b x +2}}{2}+\frac {\sqrt {x}\, \sqrt {b x +2}}{2 b}-\frac {\sqrt {x \left (b x +2\right )}\, \ln \left (\frac {b x +1}{\sqrt {b}}+\sqrt {x^{2} b +2 x}\right )}{2 b^{\frac {3}{2}} \sqrt {b x +2}\, \sqrt {x}}\) \(87\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+2)^(3/2)*x^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/3*x^(3/2)*(b*x+2)^(3/2)+1/2*x^(3/2)*(b*x+2)^(1/2)+1/2*x^(1/2)*(b*x+2)^(1/2)/b-1/2/b^(3/2)*(x*(b*x+2))^(1/2)/
(b*x+2)^(1/2)/x^(1/2)*ln((b*x+1)/b^(1/2)+(b*x^2+2*x)^(1/2))

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 132 vs. \(2 (57) = 114\).
time = 0.52, size = 132, normalized size = 1.61 \begin {gather*} \frac {\frac {3 \, \sqrt {b x + 2} b^{2}}{\sqrt {x}} - \frac {8 \, {\left (b x + 2\right )}^{\frac {3}{2}} b}{x^{\frac {3}{2}}} - \frac {3 \, {\left (b x + 2\right )}^{\frac {5}{2}}}{x^{\frac {5}{2}}}}{3 \, {\left (b^{4} - \frac {3 \, {\left (b x + 2\right )} b^{3}}{x} + \frac {3 \, {\left (b x + 2\right )}^{2} b^{2}}{x^{2}} - \frac {{\left (b x + 2\right )}^{3} b}{x^{3}}\right )}} + \frac {\log \left (-\frac {\sqrt {b} - \frac {\sqrt {b x + 2}}{\sqrt {x}}}{\sqrt {b} + \frac {\sqrt {b x + 2}}{\sqrt {x}}}\right )}{2 \, b^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+2)^(3/2)*x^(1/2),x, algorithm="maxima")

[Out]

1/3*(3*sqrt(b*x + 2)*b^2/sqrt(x) - 8*(b*x + 2)^(3/2)*b/x^(3/2) - 3*(b*x + 2)^(5/2)/x^(5/2))/(b^4 - 3*(b*x + 2)
*b^3/x + 3*(b*x + 2)^2*b^2/x^2 - (b*x + 2)^3*b/x^3) + 1/2*log(-(sqrt(b) - sqrt(b*x + 2)/sqrt(x))/(sqrt(b) + sq
rt(b*x + 2)/sqrt(x)))/b^(3/2)

________________________________________________________________________________________

Fricas [A]
time = 0.60, size = 124, normalized size = 1.51 \begin {gather*} \left [\frac {{\left (2 \, b^{3} x^{2} + 7 \, b^{2} x + 3 \, b\right )} \sqrt {b x + 2} \sqrt {x} + 3 \, \sqrt {b} \log \left (b x - \sqrt {b x + 2} \sqrt {b} \sqrt {x} + 1\right )}{6 \, b^{2}}, \frac {{\left (2 \, b^{3} x^{2} + 7 \, b^{2} x + 3 \, b\right )} \sqrt {b x + 2} \sqrt {x} + 6 \, \sqrt {-b} \arctan \left (\frac {\sqrt {b x + 2} \sqrt {-b}}{b \sqrt {x}}\right )}{6 \, b^{2}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+2)^(3/2)*x^(1/2),x, algorithm="fricas")

[Out]

[1/6*((2*b^3*x^2 + 7*b^2*x + 3*b)*sqrt(b*x + 2)*sqrt(x) + 3*sqrt(b)*log(b*x - sqrt(b*x + 2)*sqrt(b)*sqrt(x) +
1))/b^2, 1/6*((2*b^3*x^2 + 7*b^2*x + 3*b)*sqrt(b*x + 2)*sqrt(x) + 6*sqrt(-b)*arctan(sqrt(b*x + 2)*sqrt(-b)/(b*
sqrt(x))))/b^2]

________________________________________________________________________________________

Sympy [A]
time = 3.74, size = 92, normalized size = 1.12 \begin {gather*} \frac {b^{2} x^{\frac {7}{2}}}{3 \sqrt {b x + 2}} + \frac {11 b x^{\frac {5}{2}}}{6 \sqrt {b x + 2}} + \frac {17 x^{\frac {3}{2}}}{6 \sqrt {b x + 2}} + \frac {\sqrt {x}}{b \sqrt {b x + 2}} - \frac {\operatorname {asinh}{\left (\frac {\sqrt {2} \sqrt {b} \sqrt {x}}{2} \right )}}{b^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+2)**(3/2)*x**(1/2),x)

[Out]

b**2*x**(7/2)/(3*sqrt(b*x + 2)) + 11*b*x**(5/2)/(6*sqrt(b*x + 2)) + 17*x**(3/2)/(6*sqrt(b*x + 2)) + sqrt(x)/(b
*sqrt(b*x + 2)) - asinh(sqrt(2)*sqrt(b)*sqrt(x)/2)/b**(3/2)

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+2)^(3/2)*x^(1/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Warning, choosing root of [1,0,%%%{-4,[1
,1]%%%}+%%%{-4,[1,0]%%%}+%%%{-4,[0,1]%%%}+%%%{-8,[0,0]%%%},0,%%%{6,[2,2]%%%}+%%%{4,[2,1]%%%}+%%%{6,[2,0]%%%}+%
%%{4,[1,2]%%%}+%%%{28

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \sqrt {x}\,{\left (b\,x+2\right )}^{3/2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1/2)*(b*x + 2)^(3/2),x)

[Out]

int(x^(1/2)*(b*x + 2)^(3/2), x)

________________________________________________________________________________________